home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.7 KB | 75 lines | [TEXT/MPS ] |
- ;
- ; File: Traps.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TRAPS__') = 'UNDEFINED' THEN
- __TRAPS__ SET 1
-
-
- IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
- include 'ConditionalMacros.a'
- ENDIF
-
- ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Trap OPWORDS are now defined in each manager
- ;
- ; Example:
- ;
- ; _GetResource OPWORD $A9A0
- ;
- ; is now in the file 'Resources.a'
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- IF OLDROUTINENAMES THEN
-
- ;
- ;
- ; The following equates are for compatibility with old option bits
- ;
- ; Example:
- ; _NewPtr, sys ; old way
- ;
- ; The new way is to use the C name:
- ;
- ; Examle:
- ; _NewPtrSys ; new way
- ;
- ;
-
- ;
- ; for Device and File Manager routines
- immed EQU $200 ; execute immediately, bypass I/O queue
- async EQU $400 ; asynchronous, don't wait for completion
- ;
- ; for Memory Manager routines
- clear EQU $200
- sys EQU $400
- ;
- ; for string routines
- marks EQU $200 ; set to ignore/strip diacriticals
- Case EQU $400 ; set for case sensitivity
- autoPop EQU $400 ; set to pop an extra return address
- ;
- ; for Get/Set & NGet/NSet TrapAddress
- newTool EQU $600 ; Toolbox trap, under new ordering
- newOS EQU $200 ; OS trap, under new ordering
- ;
- ; for HFS routines
- newHFS EQU $200
-
- ENDIF
- ENDIF ; __TRAPS__
-